package com.ruoyi.classscoreonmonth.service.impl;

import com.ruoyi.classscoreonmonth.domain.StrengthsWeaknesses;
import com.ruoyi.classscoreonmonth.mapper.StrengthsWeaknessesMapper;
import com.ruoyi.classscoreonmonth.service.ISStrengthsWeaknesses;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 尹欣雨
 * @verdion 520
 * 22:39
 */

@Service
public class StrengthsWeaknessesImpl implements ISStrengthsWeaknesses {
    @Autowired
    private StrengthsWeaknessesMapper strengthsWeaknessesMapper;
    @Override
    public void insertstrengthsWeaknesses(StrengthsWeaknesses strengthsWeaknesses) {
        strengthsWeaknessesMapper.insertstrengthsWeaknesses(strengthsWeaknesses);
    }

    @Override
    public List<StrengthsWeaknesses> selectStrengthsWeaknessesList(StrengthsWeaknesses strengthsWeaknesses) {
        return strengthsWeaknessesMapper.strengthsWeaknessesMapper(strengthsWeaknesses);
    }
}
